package com.freshcity.component
{
	import com.freshcity.core.BasePage;
	import com.freshcity.core.MainScene;
	import com.freshcity.manager.CommunicatorManager;
	import com.freshcity.manager.LayerManager;
	import com.freshcity.manager.SkinManager;
	import com.pblabs.core.PBGameObject;
	import com.pblabs.core.PBGroup;
	
	import flash.display.Sprite;
	import flash.display.Stage;
	
	public class BaseGameObject extends PBGameObject
	{
		public var parent:Sprite;
		public var group:MainScene;
		
		public function BaseGameObject(_name:String=null)
		{
			super(_name);
		}
		
		override public function destroy():void
		{
			// TODO Auto Generated method stub
			super.destroy();
		}
		
		override public function initialize():void
		{
			super.initialize();
			group = this.owningGroup as MainScene;
			parent = group.rootClass;
		}
		
		
	}
}